<?php
namespace app\index\controller;
use app\BaseController;
use think\facade\View;
use app\index\model\Video as VideoModel;

class Video extends Base
{
    public function index()
    {
        $info = VideoModel::with('getOne',)->find(input('param.id'));
        return View::fetch('',[
            'info'=>$info,
            'cates'=>$this->cates,
            'topVideos'=>$this->topVideos
        ]);
    }
}
